package com.sluggard.ai.service.impl;

import com.sluggard.ai.model.entity.KnowledgeEntity;
import com.sluggard.ai.mapper.KnowledgeMapper;
import com.sluggard.ai.service.IKnowledgeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * ai 知识库 服务实现类
 * </p>
 *
 * @author lizheng
 * @since 2025-04-23
 */
@Service
public class KnowledgeServiceImpl extends ServiceImpl<KnowledgeMapper, KnowledgeEntity> implements IKnowledgeService {

    @Override
    public KnowledgeEntity findKnowledgeByName(String name) {
        return baseMapper.findKnowledgeByName(name);
    }
}
